<table class="table table-hover">
  <thead>
    <tr>
      <th>ID</th>
      <th>姓名</th>
      <th>电话</th>
      <th>车型</th>
      <th>店名</th>
      <th>已砍价格</th>
      <th>提交时间</th>
	  <th>状态</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>
    <volist name="haggleLists" id="vo">
      <tr>
        <td>{$vo.id}</td>
        <td>{$vo.name}</td>
        <td>{$vo.tel}</td>
        <td>{$vo.type}</td>
        <td>{$vo.shop_name}</td>
        <td>{$vo.price}</td>
        <td>{$vo.create_time|date='Y-m-d h:i:s',###}</td>
        <td class="status">{$vo['status']?'已读':'未读'}</td>
        <td>
          <a class="btn btn-info btn-xs action-status" data-action-id="{$vo.id}" data-action-txt="执行中……" data-action-status="{$vo.status}" data-action-status-txt="已读 未读" data-action-url="__CONTROLLER__/setStatus/id/{$vo.id}">{$vo["status"]?"未读":"已读"}</a>
          <a class="btn btn-danger btn-xs actionds" data-action-id="{$vo.id}" data-action-txt="移除中……" data-action-url="__CONTROLLER__/remove">移除</a>
        </td>
      </tr>
    </volist>
  </tbody>
</table>
<div class="pagination">{$pagination}</div>
<style>
  td.green {
    color: #2ecc40;
  }
  td.red {
    color: #ff4136;
  }
</style>